﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DecoratorCoffice
{
    class Whip:Burden
    {
        public Whip(Beverage beverage) : base(beverage)
        {

        }
        public override string GetDescription()
        {
            this.AddMocha();
            return base.GetDescription();

        }
        public string AddMocha()
        {
            return base.GetDescription() + ",奶泡";
        }
        public override int GetCost()
        {
            this.AddMocha();
            return  8+ base.GetCost();

        }
        public int AddMochaCost()
        {
            return 8;
        }
    }
}
